.contain {
  width: 100%;
  height: 100%;
  padding: 12px;
  padding-right: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.ledgen {
  position: relative;
  height: 24px;
  margin-bottom: -6px;

  .centers {
    display: flex;
    justify-content: space-around;
  }

  span {
    font-size: 12px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    &::after {
      content: "";
      position: absolute;
      width: 100%;
      background-color: #4cc1f8;
      height: 2px;
      bottom: -30px;
      border-radius: 6px;
    }
  }

  span:nth-child(1) {
    flex: 3;
    &::after {
      background-color: #ff4800;
    }
  }
  span:nth-child(2) {
    flex: 2;

    &::after {
      background-color: #e2ee05;
    }
  }
  span:nth-child(3) {
    flex: 3;

    &::after {
      background-color: #3acafa;
    }
  }

  span:nth-child(4) {
    flex: 2;
    &::after {
      background-color: #6666ff;
    }
  }
  .active {
    position: absolute;
    color: #fff;
    bottom: 30px;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 34px;
    margin-left: -16px;
    background-color: var(--colors); /* 设置背景颜色 */
    clip-path: polygon(
      50% 0%,
      100% 25%,
      100% 75%,
      50% 100%,
      0% 75%,
      0% 25%
    ); /* 使用 clip-path 创建六边形 */
    transition: all 0.2s;
    b {
      position: absolute;
      z-index: 999;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
  .activebar {
    position: absolute;
    bottom: 20.5px;
    width: 30px;
    margin-left: -10px;

    &::before {
      position: absolute;
      bottom: -13px;
      z-index: 999;
      width: 1px;
      left: 9px;
      height: 20px;
      border-left: 1px dashed var(--color);
      border-radius: 50%;
      opacity: 0.5;
      content: "";
    }
    &::after {
      position: absolute;
      bottom: -12px;
      bottom: -37px;
      z-index: 999;
      width: 20px;
      height: 20px;
      background-color: #fff;
      border: 4px solid var(--color);
      border-radius: 50%;
      box-shadow: -2px 0 2px rgba(0, 0, 0, 0.5);
      content: "";
    }
  }
}

@media only screen and (max-width: @screen-md) {
  .contain {
    width: 100%;
    height: 100%;
    padding: 12px;
    padding-right: 0;
    padding-bottom: 0;
    overflow: auto;
  }
}
